package com.tbryant.test.designpattern.zenofdesignpattern.decorator;

/**
 * @author TBryant
 * @date 2021/9/29 10:20
 */
public class HighScoreDecorator extends Decorator {
    public HighScoreDecorator(SchoolReport sr) {
        super(sr);
    }

    @Override
    public void report() {
        System.out.println("这次考试语文最高是75，数学是78，自然是80");
        super.report();
    }
}
